from time import sleep, time

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait


def wait_show():
    driver = webdriver.Chrome()
    driver.get('https://vip.ceshiren.com/#/ui_study')
    # driver.implicitly_wait(5)
    WebDriverWait(driver, 15).until(expected_conditions.element_to_be_clickable((By.ID, 'success_btn')))
    btn = driver.find_element(By.ID, 'success_btn')
    btn.click()
    sleep(5)

if __name__ == '__main__':
    wait_show()

